package lsem.eclipse.vdf.ui.misc;

import org.neo4j.graphdb.RelationshipType;

public enum VDFRelTypes implements RelationshipType{	
	DOMAIN_ROOT, 
	DOMAIN, 
	SUBDOMAIN, 
	PROCESS_ROOT, 
	PROCESS, 
	DATAFORMAT_ROOT, 
	DATAFORMAT,
	COMMUNICATION_ROOT, 
	TRANSFORMATION_ROOT, 
	is_able_to_be_used,
	needs,
	uses_communication_type,
	can_be_transformed,
	organisation,
	uses;
	
	public static String relTypesToString() {

		int count = 1;
		String relList = "";
		for (VDFRelTypes d : VDFRelTypes.values()) {
			if (count < VDFRelTypes.values().length)
				relList += d.toString() + ",";
			else
				relList += d.toString();
			count++;
		}
		return relList;
	}
}
